package me.xuym.crawler.dygang.entity;

/**
 * Created by broche on 13/09/2017.
 */
public abstract class DYGangResult {
    private long id = -1;
    private String name = "";
    private String url = "";
    private long createtime = System.currentTimeMillis() / 1000;
    private long updatetime = System.currentTimeMillis() / 1000;
    private double dbrating = 0;
    private int dbcollection = 0;
    private String dburl = "";
    private String dbname = "";

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(long createtime) {
        this.createtime = createtime;
    }

    public long getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(long updatetime) {
        this.updatetime = updatetime;
    }

    public double getDbrating() {
        return dbrating;
    }

    public void setDbrating(double dbrating) {
        this.dbrating = dbrating;
    }

    public int getDbcollection() {
        return dbcollection;
    }

    public void setDbcollection(int dbcollection) {
        this.dbcollection = dbcollection;
    }

    public String getDburl() {
        return dburl;
    }

    public void setDburl(String dburl) {
        this.dburl = dburl;
    }

    public String getDbname() {
        return dbname;
    }

    public void setDbname(String dbname) {
        this.dbname = dbname;
    }
}
